let fs = require("fs");
let user = {
	"name":"枫叶在飘",
	"age":21,
	"hobby":"敲代码"
}
console.log(user)
fs.writeFileSync("b.txt",JSON.stringify(user),{flag:"w"});
